package com.hanyi.mvc.contorller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class interceptorController {

    @RequestMapping("/ma")
    public String method1(){
        System.out.println("method....aaaaaa........");
        return "success";
    }

    @RequestMapping("/mb")
    public String method2(){
        System.out.println("method.......bbbbbb.....");
        return "success";
    }
}
